#!/usr/bin/env python

'''Demonstrates how to check for the existence of pyglet.
'''

__docformat__ = 'restructuredtext'
__version__ = '$Id$'

import embryo
import sys

# If pyglet is not installed, exit immediately.  embryo takes care of
# directing the user to the pyglet home page.
if not embryo.check_pyglet():
    sys.exit(1)
